<template>
  <div>
    <!--logo-->
    <div>
      <el-input placeholder="请输入关键字" v-model="value" @input="$emit('input',value)">
        <el-button slot="append" icon="search" @click="$emit('search',value)"><span class="color-primary">搜索</span></el-button>
      </el-input>

    </div>
    <!--search-->
    <div>

    </div>
  </div>
</template>

<script type="text/babel">

  export default {
    data(){
      return {
          value:''
      }
    },
    computed: {},
    methods: {},
    components: {}
  };
</script>
